{% extends "base.html" %} {% block title %}Settings from a file Β· {{ app_name }}{% endblock %} {# π§Ύ THE COMPARISON (core/settingsfile.py, #82). This page is the consent for an imported settings file: it is rendered from a POST, it has written nothing, and the only thing that writes is the button below β which carries the values shown here (`bundle`, re-read by the same validator on the way back) and the seal of this exact comparison (`seen`). π΄ No JavaScript, and the values are printed as text: a file is somebody else's words. #} {% block body %}
A file is taken whole or not at all. This one was refused, for {{ 'this reason' if refused|length == 1 else 'these reasons' }}:
β¦and {{ refused|length - 40 }} more of the same kind.
{% endif %}A key this box does not have may belong to a module it does not run. The same check from a
clone: python -m handlr.settings check FILE.
{{ same|length }} key{{ '' if same|length == 1 else 's' }} in the file, and every one already has that value here.
A setting changed after you looked at the comparison, so it was not written. This is the comparison as it stands now β read it again.
{% endif %} {% set reaching = changes|selectattr('reaches')|list %} {% if reaching %}π {{ reaching|length }} of these belong{{ 's' if reaching|length == 1 else '' }} to a module that says it reaches the network ({{ reaching|map(attribute='reaches')|unique|join(', ') }}). A file can change where it reaches, and whether it does: read {{ 'that line' if reaching|length == 1 else 'those lines' }} twice.
{% endif %}| Setting | Now | From the file | |
|---|---|---|---|
{{ r.label }}{{ r.key }}{% if r.where %} Β· {{ r.where }}{% endif %}{% if r.reaches %} Β· π{% endif %} |
{% if r.old %}{{ r.old }}{% else %}empty{% endif %} |
{% if r.new %}{{ r.new }}{% else %}empty{% endif %} |
{% for r in same %}{{ r.key }} {% endfor %}
Every other setting stays as it is. The import goes in your log as one line naming these keys, not their values. To take it back, download your settings first, or set the old values again here.